package com.example.ISearchBlog.mapper;

import com.example.ISearchBlog.entity.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserMapper {
    int reg(UserInfo userInfo);
    UserInfo login(@Param("username") String username);
}
